package com.ar4j.sql;

/**
 * TODO - document
 */
public class DefaultSqlNamingStrategy implements ISqlNamingStrategy {

  @Override
  public String getTableNameForClass(Class<?> clazz) {
    return SqlUtils.convertPropertyNameToUnderscoreName(clazz.getSimpleName()).toUpperCase();
  }
  
  @Override
  public String getColumnNameForPropertyName(String propertyName) {
    return SqlUtils.convertPropertyNameToUnderscoreName(propertyName);
  }

}
